/*
 * @(#)Author.java 0.0.1-SNAPSHOT
 * Copyright Group B
 */

package grupb.upf.XMLObjects;

/**
 * <p>This is the interface of the Author objects.</p>
 *
 * @version    0.0.1-SNAPSHOT
 * @author     Group B
 */
public interface Author {
    /**
     * Method to set the name of the author.
     * @param name the name of the author
     */
    void setName(String name);
    /**
     * Method to get the name of the author.
     * @return the name of the author
     */
    String getName();
    /**
     * Method to set the surname of the author.
     * @param surname the surname of the author
     */
    void setSurname(String surname);
    /**
     * Method to get the surname of the author.
     * @return the surname of the author
     */
    String getSurname();
    /**
     * Method to set the account of the author (i.e. author@gmail.com).
     * @param account the account of the author
     */
    void setAccount(String account);
    /**
     * Method to get the account of the author.
     * @return the account of the author
     */
    String getAccount();
    /**
     * Method to clear all the parameters of the author.
     */
    void clear();
}
